//
//  HPSlider.h
//  Handpic_Pro
//
//  Created by 刘功武 on 2020/3/6.
//  Copyright © 2020年 北京汉德图像. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HPSlider;

@protocol HPSliderDelegate <NSObject>

@optional
- (void)sliderDidChangeValue:(NSString *)score_value;
@end

@interface HPSlider : UIView

/**滑块当前值*/
@property (nonatomic, assign) CGFloat current_score;
/**滑块最大值*/
@property (nonatomic, assign) CGFloat max_score;

@property (nonatomic, assign) id <HPSliderDelegate> delegate;

- (instancetype)initWithMax_score:(int)max_score;
- (instancetype)initWithFrame:(CGRect)frame max_score:(int)max_score;
@end
